<form id="form-post-submit" class="form-horizontal" action="<?=site_url('post/submit')?>" method="post">
	<fieldset>
		<legend>发布</legend>
		<div class="err-board"></div>
		<div class="control-group">
			<label class="control-label">请选择一个类别</label>
			<div class="controls">
				<select name="cate_id">
					<option>请选择一个类别</option>
					<?php foreach ($category_list as $category): ?>
					<option value="<?=$category['id']?>"><?=$category['name']?></option>
					<?php endforeach; ?>
				</select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="title">填写标题 / 主题</label>
			<div class="controls">
				<input id="title" name="title" type="text" placeholder="标题 / 主题" />
				<span class="help-inline">，这正常吗？！</span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="type">是否显示昵称</label>
			<div class="controls">
				<label class="checkbox"><input type="checkbox" name="anonymous" value="1"> 匿名发布</label>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="detail">详细描述</label>
			<div class="controls">
				<textarea id="detail" name="detail" class="input-block-level" rows="10" placeholder="故事详情"></textarea>
				<span class="help-block">用来描述您的意图(如:"xxxxx")</span>
			</div>
		</div>
		<div class="form-actions">
			<button type="submit" class="btn btn-primary" data-loading-text="正在发布...">发布</button>
			<button type="button" class="btn">返回</button>
		</div>
	</fieldset>
</form>